  <div class="modal-dialog add-sale-fix modal-sm">
  	<div class="modal-content">
  		<div class="modal-header">
  			<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
  			<h4 class="modal-title" id="myModalLabel">Thêm Ngành Hàng</h4>
  		</div>
  		<div class="modal-body">
      <input type="hidden" value="<?php echo $this->input->get("id")?>" id="user_id_fix" />
  			<section class="panel panel-default list-sale-full" id="progressbar">
  				<table class="table table-striped table-condensed table-hover table-bordered">
  					<thead>
  						<tr>
  							<th width="20"><label class="checkbox m-n i-checks"><input type="checkbox"><i></i></label></th>  							
  							<th>Ngành Hàng</th>
  						</tr>
  					</thead>
  					<tbody class="data-table-line-fix">
              <?php
                foreach($this->data["result"]  as $key => $value){

                  $_checked ="";
                  if(count($this->data["refix"])>0){
                     if(in_array($value["line_prefix"], $this->data["refix"])){
                       $_checked ="checked";
                    }
                  }
                

                  ?>
                  <tr>
                    <td><label class="checkbox m-n i-checks"><input type="checkbox" <?php echo $_checked; ?> value="<?php echo $value["line_prefix"]?>" name="user_id_fix"><i></i></label></td>           
                    <td class="text-left"><?php echo $value["line_prefix"]?></td>
                  </tr>
                  <?php
                }
              ?>
  					</tbody>
  				</table>
  			</section>
  		</div>
  		<div class="modal-footer">
  			<button type="button" class="btn btn-default" data-dismiss="modal">Đóng</button>
        <button type="button" class="btn btn-primary" onclick="addSaleFix()">Lưu</button>
  		</div>
  	</div>
  </div>
